package ModelLayer;

public class SalesLine
{
    private int Amount;
    private Product product;
    private SalesOrder salesOrder;
    private int ProductID;
    private int SalesOrderID;

    public SalesLine()
    {
    }

    public SalesLine(Product product, int amount)
    {
        this.Amount = amount;
        this.product = product;
    }

    public int getAmount()
    {
        return Amount;
    }

    public void setAmount(int amount)
    {
        this.Amount = amount;
    }

    public Product getProduct()
    {
        return product;
    }

    public void setProduct(Product product)
    {
        this.product = product;
    }

    public SalesOrder getSalesOrder()
    {
        return salesOrder;
    }

    public void setSalesOrder(SalesOrder salesOrder)
    {
        this.salesOrder = salesOrder;
    }
}
